﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="GoodType.ascx.cs" Inherits="UserControls_GoodType" %>
<%@ Register Assembly="Shove.Web.UI.4 For.NET 2.0" Namespace="Shove.Web.UI" TagPrefix="ShoveWebUI" %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="Style/sitecss2.css" rel="stylesheet" type="text/css" />
<table border="0" cellpadding="0" cellspacing="1" id="tabctr" runat="server">
    <tr id="trsign" runat="server">
        <td bgcolor="#FFFFFF">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td align="left" id="tdsign" runat="server">
                        商品分类
                    </td>
                    <td id="tdspace" runat="server" align="right">
                        <a href="Default.aspx?PN=goods_category">
                            <img src="http://about" width="85" height="20" border="0" id="imgmore" runat="server" /></a>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr id="trcenter" runat="server" valign="top">
        <td bgcolor="#FFFFFF">
            <div style="height: 2px;">
            </div>
            <asp:DataList ID="sdlOneGoodType" runat="server" Width="100%" OnItemDataBound="sdlOneGoodType_ItemDataBound">
                <ItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <a href="Default.aspx?PN=goods_search_list&Page=Type&GoodType=<%#Eval("ID")%>">
                                    <%# Eval("TypeName") %></a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:DataList ID="dlTwoGoodType" runat="server" RepeatDirection="Horizontal" Width="100%"
                                    DataSource='<%# GetTwoGoodType(DataBinder.Eval(Container.DataItem,"ID"))%>' RepeatColumns="3">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <ItemTemplate>
                                        <a href="Default.aspx?PN=goods_search_list&Page=Type&GoodType=<%# Eval("ID")%>">
                                            <%# Eval("TypeName")%></a>
                                    </ItemTemplate>
                                </asp:DataList>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
</table>
<asp:HiddenField ID="hType" runat="server" />
